home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / mackun.sit / Mackun / É}ÉbÉNÉì1.0(ÉxÅ[É^î≈) / card_4141.txt < prev    next >
Text File  |  1990-05-15  |  11KB  |  508 lines

  1. -- card: 4141 from stack: in.0(├ëx├à[├ë^├«Γëê)
  2. -- bmap block id: 4545
  3. -- flags: 0000
  4. -- background id: 3816
  5. -- name: MackunSet
  6. ----- HyperTalk script -----
  7. on openCard
  8.   put xSetSoundVol(card field "MVol2") into dummy
  9. end openCard
  10.  
  11.  
  12.  
  13.  
  14. -- part 2 (field)
  15. -- low flags: 00
  16. -- high flags: 0001
  17. -- rect: left=19 top=35 right=51 bottom=126
  18. -- title width / last selected line: 0
  19. -- icon id / first selected line: 0 / 0
  20. -- text alignment: 0
  21. -- font id: 16384
  22. -- text size: 12
  23. -- style flags: 0
  24. -- line height: 16
  25. -- part name: 
  26.  
  27.  
  28. -- part 4 (field)
  29. -- low flags: 00
  30. -- high flags: 0000
  31. -- rect: left=177 top=102 right=167 bottom=372
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 0 / 0
  34. -- text alignment: 0
  35. -- font id: 16384
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: levelF
  40.  
  41.  
  42. -- part 5 (button)
  43. -- low flags: 00
  44. -- high flags: 0000
  45. -- rect: left=193 top=101 right=122 bottom=221
  46. -- title width / last selected line: 0
  47. -- icon id / first selected line: 13409 / 13409
  48. -- text alignment: 1
  49. -- font id: 0
  50. -- text size: 12
  51. -- style flags: 0
  52. -- line height: 16
  53. -- part name: pitchB
  54. ----- HyperTalk script -----
  55. on mouseDown
  56.   global Mpitch
  57.   set the cursor to -15615
  58.   get the rect of card field "LevelF"
  59.   put item 1 of it into Xmin
  60.   put item 3 of it into Xmax
  61.  
  62.   set the hilite of the target to true
  63.   moveLevel
  64.   put the loc of the target into data1
  65.  
  66.   -- ├Ñv├⌐Z
  67.   get the loc of the target
  68.   put  ((item 1 of it)-Xmin)  into data1
  69.   put round((data1*(500-65) /(Xmax-Xmin))+65) into data1
  70.   if data1 is 116
  71.   then
  72.   put 117 into data1
  73. end if
  74. put data1 into card field "Mpitch"
  75. put data1 into Mpitch
  76. set the hilite of the target to false
  77. end mouseDown
  78.  
  79.  
  80.  
  81.  
  82. -- part 7 (field)
  83. -- low flags: 01
  84. -- high flags: 0001
  85. -- rect: left=97 top=146 right=162 bottom=152
  86. -- title width / last selected line: 0
  87. -- icon id / first selected line: 0 / 0
  88. -- text alignment: 0
  89. -- font id: 16384
  90. -- text size: 12
  91. -- style flags: 0
  92. -- line height: 16
  93. -- part name: Mrate
  94.  
  95.  
  96. -- part 8 (field)
  97. -- low flags: 01
  98. -- high flags: 0001
  99. -- rect: left=96 top=104 right=120 bottom=150
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 0 / 0
  102. -- text alignment: 0
  103. -- font id: 16384
  104. -- text size: 12
  105. -- style flags: 0
  106. -- line height: 16
  107. -- part name: Mpitch
  108.  
  109.  
  110. -- part 10 (button)
  111. -- low flags: 00
  112. -- high flags: 0000
  113. -- rect: left=192 top=145 right=166 bottom=220
  114. -- title width / last selected line: 0
  115. -- icon id / first selected line: 13409 / 13409
  116. -- text alignment: 1
  117. -- font id: 0
  118. -- text size: 12
  119. -- style flags: 0
  120. -- line height: 16
  121. -- part name: rateB
  122. ----- HyperTalk script -----
  123. on mouseDown
  124.   global Mrate
  125.   set the cursor to -15615
  126.   get the rect of card field "LevelF"
  127.   put item 1 of it into Xmin
  128.   put item 3 of it into Xmax
  129.  
  130.   set the hilite of the target to true
  131.   moveLevel
  132.   put the loc of the target into data1
  133.  
  134.   -- ├Ñv├⌐Z
  135.   get the loc of the target
  136.   put  ((item 1 of it)-Xmin)  into data1
  137.   put round((data1*(425-85) /(Xmax-Xmin))+85) into data1
  138.   if data1 is 113
  139.   then
  140.   put 115 into data1
  141. end if
  142. put data1 into card field "Mrate"
  143. put data1 into Mrate
  144. set the hilite of the target to false
  145. end mouseDown
  146.  
  147.  
  148.  
  149.  
  150. -- part 11 (button)
  151. -- low flags: 00
  152. -- high flags: 2002
  153. -- rect: left=198 top=82 right=97 bottom=214
  154. -- title width / last selected line: 0
  155. -- icon id / first selected line: 3584 / 3584
  156. -- text alignment: 1
  157. -- font id: 0
  158. -- text size: 12
  159. -- style flags: 0
  160. -- line height: 16
  161. -- part name: ÉVïKâ{â^âô
  162. ----- HyperTalk script -----
  163. on mouseUp
  164.   global Mpitch
  165.   set the loc of button "pitchB" to 207,111
  166.   put 130 into card field "Mpitch"
  167.   put 130 into Mpitch
  168. end mouseUp
  169.  
  170.  
  171.  
  172. -- part 12 (button)
  173. -- low flags: 00
  174. -- high flags: 2002
  175. -- rect: left=199 top=169 right=184 bottom=215
  176. -- title width / last selected line: 0
  177. -- icon id / first selected line: 16692 / 16692
  178. -- text alignment: 1
  179. -- font id: 0
  180. -- text size: 12
  181. -- style flags: 0
  182. -- line height: 16
  183. -- part name: ÉVïKâ{â^âô
  184. ----- HyperTalk script -----
  185. on mouseUp
  186.   global Mrate
  187.   set the loc of button "rateB" to 206,155
  188.   put 136 into card field "Mrate"
  189.   put 136 into Mrate
  190. end mouseUp
  191.  
  192.  
  193.  
  194. -- part 13 (button)
  195. -- low flags: 00
  196. -- high flags: 8001
  197. -- rect: left=107 top=66 right=84 bottom=168
  198. -- title width / last selected line: 0
  199. -- icon id / first selected line: 0 / 0
  200. -- text alignment: 1
  201. -- font id: 0
  202. -- text size: 12
  203. -- style flags: 0
  204. -- line height: 16
  205. -- part name: Robotic
  206. ----- HyperTalk script -----
  207. on mouseUp
  208.   global Mrobot
  209.   set the hilite of the target to true
  210.   set the hilite of button "Normal" to false
  211.   put 0 into card field "Mrobot"
  212.   put 0 into Mrobot
  213. end mouseUp
  214.  
  215.  
  216.  
  217. -- part 14 (button)
  218. -- low flags: 00
  219. -- high flags: C001
  220. -- rect: left=34 top=66 right=84 bottom=95
  221. -- title width / last selected line: 0
  222. -- icon id / first selected line: 0 / 0
  223. -- text alignment: 1
  224. -- font id: 0
  225. -- text size: 12
  226. -- style flags: 0
  227. -- line height: 16
  228. -- part name: Normal
  229. ----- HyperTalk script -----
  230. on mouseUp
  231.   global Mrobot
  232.   set the hilite of the target to true
  233.   set the hilite of button "Robotic" to false
  234.   put 1 into card field "Mrobot"
  235.   put 1 into Mrobot
  236. end mouseUp
  237.  
  238.  
  239.  
  240. -- part 15 (button)
  241. -- low flags: 00
  242. -- high flags: 2001
  243. -- rect: left=465 top=306 right=332 bottom=496
  244. -- title width / last selected line: 0
  245. -- icon id / first selected line: 6720 / 6720
  246. -- text alignment: 1
  247. -- font id: 0
  248. -- text size: 12
  249. -- style flags: 0
  250. -- line height: 16
  251. -- part name: éαé╟éΦ
  252. ----- HyperTalk script -----
  253. on mouseUp
  254.   visual effect  barn door close
  255.   go back
  256. end mouseUp
  257.  
  258.  
  259.  
  260. -- part 17 (field)
  261. -- low flags: 80
  262. -- high flags: 0000
  263. -- rect: left=219 top=62 right=80 bottom=285
  264. -- title width / last selected line: 0
  265. -- icon id / first selected line: 0 / 0
  266. -- text alignment: 0
  267. -- font id: 16384
  268. -- text size: 12
  269. -- style flags: 0
  270. -- line height: 16
  271. -- part name: Mrobot
  272.  
  273.  
  274. -- part 18 (button)
  275. -- low flags: 00
  276. -- high flags: 0000
  277. -- rect: left=25 top=192 right=228 bottom=57
  278. -- title width / last selected line: 0
  279. -- icon id / first selected line: 20008 / 20008
  280. -- text alignment: 1
  281. -- font id: 0
  282. -- text size: 12
  283. -- style flags: 0
  284. -- line height: 16
  285. -- part name: â}âbâNâô
  286. ----- HyperTalk script -----
  287. on mouseUp
  288.   global Mrate,Mpitch,Mrobot
  289.   set the cursor to 4
  290.   get card field "├ç╞Æ├çΓêæ├çΓêå"
  291.  
  292.   MackunSpeech it,Mrate,Mpitch,Mrobot
  293. end mouseUp
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301. -- part 19 (field)
  302. -- low flags: 00
  303. -- high flags: 0001
  304. -- rect: left=27 top=234 right=310 bottom=413
  305. -- title width / last selected line: 0
  306. -- icon id / first selected line: 0 / 0
  307. -- text alignment: 0
  308. -- font id: 16384
  309. -- text size: 12
  310. -- style flags: 0
  311. -- line height: 16
  312. -- part name: é─é╖é╞
  313.  
  314.  
  315. -- part 20 (button)
  316. -- low flags: 00
  317. -- high flags: 0000
  318. -- rect: left=61 top=191 right=232 bottom=128
  319. -- title width / last selected line: 0
  320. -- icon id / first selected line: 0 / 0
  321. -- text alignment: 1
  322. -- font id: 0
  323. -- text size: 12
  324. -- style flags: 0
  325. -- line height: 16
  326. -- part name: â}âbâNâô
  327. ----- HyperTalk script -----
  328. on mouseUp
  329.   global Mrate,Mpitch,Mrobot
  330.   set the cursor to 4
  331.   get card field "├ç╞Æ├çΓêæ├çΓêå"
  332.   if it is not empty
  333.   then
  334.   put the number of lines in it  into flen
  335.   repeat with n=1 to   flen
  336.     put kanToRom(line n of it) into romdata
  337.     if romdata is empty
  338.     then
  339.     answer "Hyper Card├çΓêåkanji.dat├çΓäó├¼├ÿ├çΓêé├ët├ëH├ë├ú├ë_├¼ΓÇí├çΓǪ├¼┬╕├ç┬í├ç╞Æ├ç┬ó├çΓÇ╣├çΓêæ├ç┬⌐├àH"
  340.   else
  341.     put MackunR(kanToRom(line n of it),Mrate,Mpitch,Mrobot) into dummy
  342.     if (dummy is not empty)
  343.     then
  344.     answer "MacinTalk├çΓäó├ëV├ëX├ëe├ë├ä├ët├ëH├ë├ú├ë_├à[├çΓǪ├¼┬╕├ç┬í├ç╞Æ├ç┬ó├çΓÇ╣├çΓêæ├ç┬⌐?"
  345.   end if
  346. end if
  347. end  repeat
  348. end if
  349. end mouseUp
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357. -- part 22 (field)
  358. -- low flags: 00
  359. -- high flags: 0000
  360. -- rect: left=425 top=69 right=173 bottom=477
  361. -- title width / last selected line: 0
  362. -- icon id / first selected line: 0 / 0
  363. -- text alignment: 0
  364. -- font id: 16384
  365. -- text size: 12
  366. -- style flags: 0
  367. -- line height: 16
  368. -- part name: levelF2
  369.  
  370.  
  371. -- part 23 (button)
  372. -- low flags: 00
  373. -- high flags: 0000
  374. -- rect: left=436 top=151 right=166 bottom=462
  375. -- title width / last selected line: 0
  376. -- icon id / first selected line: 14306 / 14306
  377. -- text alignment: 1
  378. -- font id: 0
  379. -- text size: 12
  380. -- style flags: 0
  381. -- line height: 16
  382. -- part name: SoundVol
  383. ----- HyperTalk script -----
  384. on mouseDown
  385.   global MVol
  386.   set the cursor to -15615
  387.   get the rect of card field "LevelF2"
  388.   put item 2 of it into Ymin
  389.   put item 4 of it into Ymax
  390.  
  391.   set the hilite of the target to true
  392.   moveLevel2
  393.   put the loc of the target into data1
  394.  
  395.   -- ├Ñv├⌐Z
  396.   get the loc of the target
  397.   put item 1 of it into X
  398.   put  ((item 2 of it)-Ymin)  into data1
  399.   put round((data1*(8-1) /(Ymax-Ymin))+1) into data1
  400.   put round((data1-1)*((Ymax-Ymin)/7)+Ymin) into Y
  401.   put 8-data1 into data1
  402.   put data1 into card field "MVol2"
  403.   put data1 into MVol
  404.   set the loc of the target to X,Y
  405.   put xSetSoundVol(MVol) into Dummy
  406.   beep 1
  407.   set the hilite of the target to false
  408. end mouseDown
  409.  
  410. on moveLevel2
  411.   get the loc of target
  412.   put item 1 of it into X1
  413.   put item 2 of it into Y1
  414.   get the rect of card field "LevelF2"
  415.   put item 2 of it into Ymin
  416.   put item 4 of it into Ymax
  417.  
  418.   repeat while true
  419.     if the mouse is up
  420.     then
  421.     exit moveLevel2
  422.   else
  423.     get the mouseLoc
  424.     put item 1 of it into X2
  425.     put item 2 of it into Y2
  426.     if Y2>Ymax
  427.     then
  428.     put Ymax into Y2
  429.     set the loc of target to X1,Y2
  430.   end if
  431.   if Y2<Ymin
  432.   then
  433.   put Ymin into Y2
  434.   set the loc of target to X1,Y2
  435. end if
  436. set the loc of target to X1,Y2
  437. end if
  438. end repeat
  439. end moveLevel2
  440.  
  441.  
  442.  
  443.  
  444. -- part 24 (field)
  445. -- low flags: 01
  446. -- high flags: 0001
  447. -- rect: left=455 top=193 right=209 bottom=478
  448. -- title width / last selected line: 0
  449. -- icon id / first selected line: 0 / 0
  450. -- text alignment: 1
  451. -- font id: 16384
  452. -- text size: 12
  453. -- style flags: 0
  454. -- line height: 16
  455. -- part name: MVol2
  456.  
  457.  
  458. -- part 25 (field)
  459. -- low flags: 00
  460. -- high flags: 0001
  461. -- rect: left=425 top=193 right=209 bottom=452
  462. -- title width / last selected line: 0
  463. -- icon id / first selected line: 0 / 0
  464. -- text alignment: 1
  465. -- font id: 16384
  466. -- text size: 12
  467. -- style flags: 0
  468. -- line height: 16
  469. -- part name: 
  470.  
  471.  
  472. -- part contents for card part 2
  473. ----- text -----
  474. É}ÉbÉNÉìÇÃê›íË
  475.  
  476. -- part contents for card part 8
  477. ----- text -----
  478. 130
  479.  
  480. -- part contents for card part 7
  481. ----- text -----
  482. 136
  483.  
  484. -- part contents for card part 17
  485. ----- text -----
  486. 1
  487.  
  488. -- part contents for card part 19
  489. ----- text -----
  490. ç°ì˙ÇÕÅAç°ì˙ÇÃìVãCÇÕÅAǢǩǙÇ≈Ç∑Ç©ÅH
  491. it is not logical,Captain.
  492.  
  493. -- part contents for card part 24
  494. ----- text -----
  495. 1
  496.  
  497. -- part contents for card part 25
  498. ----- text -----
  499. âπ
  500.  
  501. -- part contents for card part 22
  502. ----- text -----
  503.  
  504.  
  505.  
  506.  
  507.  
  508.